package tgc.edu.ljc.web.form;


import tgc.edu.ljc.custom.BaseForm;
import tgc.edu.ljc.entity.SysDept;

public class CustomerForm extends BaseForm<Integer> {

	private String username;
	private String username1;
	private String password;
	private String name;
	private SysDept dept;
	private String email; // 邮箱
	private String phone; // 手机号
	private String years; // 年龄
	private String roles;

	public String getUsername() {
		if(getId()!=null) {
			username = username1;
		}
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public SysDept getDept() {
		return dept;
	}

	public void setDept(SysDept dept) {
		this.dept = dept;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getYears() {
		return years;
	}

	public void setYears(String years) {
		this.years = years;
	}

	public String getRoles() {
		return roles;
	}

	public void setRoles(String roles) {
		this.roles = roles;
	}

	public String getUsername1() {
		return username1;
	}

	public void setUsername1(String username1) {
		this.username1 = username1;
	}
	

}
